#pragma once

#ifdef __cplusplus
extern "C" {
#endif

__declspec(dllexport) int winprinter_printraw(void *data, int size);
__declspec(dllexport) int winprinter_get_default(unsigned short *name, int *len);
__declspec(dllexport) void* winprinter_open(unsigned short *name);
__declspec(dllexport) void winprinter_close(void *h);
__declspec(dllexport) int winprinter_write(void *h, void *buf, int size);
__declspec(dllexport) int winprinter_read(void *h, void *buf, int size);
__declspec(dllexport) int winprinter_get_status(void *h);

#ifdef __cplusplus
}
#endif
